package com.song.druid.exception;

import lombok.Data;

import javax.validation.ConstraintViolation;
import java.util.Map;
import java.util.Set;

@Data
public class ListGroupVaildException extends RuntimeException {
    private Map<Integer, Set<ConstraintViolation<Object>>> errors;

    public ListGroupVaildException(Map<Integer, Set<ConstraintViolation<Object>>> errors){
        this.errors = errors;
    }
}
